package com.jkxt.service;

import java.util.List;
import java.util.Map;

import com.jkxt.model.Record;
import com.jkxt.model.Users;

public interface IRecordService {
	
	/**
	 * 记录健康信息  LZ
	 * @param record
	 * @return
	 */
	public abstract int insertSelectiveService(Record record);
	
	/**
	 * 根据userId查询档案条数  LZ
	 * @param userId
	 * @param title
	 * @return
	 */
	public abstract int countByUserIdService(Map map);
	
	/**
	 * 根据userId查询档案列表 LZ
	 * @param userId
	 * @param pageStart
	 * @param pageSize
	 * @param title
	 * @return
	 */
	public abstract List<Record>  selectByUserIdService(Map map);
	
	/**
	 * 根据ID和userID查询Record
	 * @param id
	 * @return
	 */
	public abstract Record selectByUserIdAndIdService(Record record);
	
	/**
	 * 根据ID更新Record
	 * @param record
	 * @return
	 */
	public abstract int updateByIdAndUserIdService(Record record);
	
	
}
